from fastmcp import FastMCP

mcp = FastMCP("My MCP Server")

@mcp.tool
def greet(name: str) -> str:
    """Greet to client

    :param name:
    :return:
    """
    return f"Hello, {name}!"

@mcp.tool
def add(a: int, b: int) -> int:
    """add two int number, return answer
    """
    return a + b


if __name__ == "__main__":
    mcp.run()
